[PATCH] lib-regex: Do not use data stack for replacement string
authorAki Tuomi <aki.tuomi@open-xchange.com>
Mon, 26 Jan 2026 07:47:16 +0000 (09:47 +0200)
committerNoah Meyerhans <noahm@debian.org>
Thu, 5 Mar 2026 01:08:14 +0000 (20:08 -0500)
commit5050e2fe883232a1b1c14ab2c69f021287e28656
treefff56de3f4d09f13eb13c91e178d11cad2d3de56
parentaae64fe14550a12e590d8afceb1b560bc2ddfc9d
[PATCH] lib-regex: Do not use data stack for replacement string

It will get lost when the data stack frame is dropped at the end,
so use heap memory instead.

Gbp-Pq: Name lib-regex-Do-not-use-data-stack-for-replacement-stri.patch
src/lib-regex/regex.c